package com.atguigu.aiproject.mapper;

import com.atguigu.aiproject.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

public interface UserMapper extends BaseMapper<User> {
    @Select("select u_nickname from users where u_id = #{id}")
    String selectNickNameById (Integer id);
}
